Optimal. Leaf size=329 \[ \frac {2 \cos ^3(c+d x) \sqrt {a+b \sin (c+d x)} \left (a^2+28 a b \sin (c+d x)+3 b^2\right )}{231 b d}-\frac {32 a \left (a^4-6 a^2 b^2-27 b^4\right ) \sqrt {a+b \sin (c+d x)} E\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{1155 b^4 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}-\frac {4 \cos (c+d x) \sqrt {a+b \sin (c+d x)} \left (4 a^4-3 a b \left (a^2+31 b^2\right ) \sin (c+d x)-21 a^2 b^2-15 b^4\right )}{1155 b^3 d}+\frac {8 \left (4 a^6-25 a^4 b^2+6 a^2 b^4+15 b^6\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} F\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{1155 b^4 d \sqrt {a+b \sin (c+d x)}}-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.69, antiderivative size = 329, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.304, Rules used = {2692, 2865, 2752, 2663, 2661, 2655, 2653} \[ \frac {2 \cos ^3(c+d x) \sqrt {a+b \sin (c+d x)} \left (a^2+28 a b \sin (c+d x)+3 b^2\right )}{231 b d}-\frac {4 \cos (c+d x) \sqrt {a+b \sin (c+d x)} \left (-3 a b \left (a^2+31 b^2\right ) \sin (c+d x)-21 a^2 b^2+4 a^4-15 b^4\right )}{1155 b^3 d}+\frac {8 \left (-25 a^4 b^2+6 a^2 b^4+4 a^6+15 b^6\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} F\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{1155 b^4 d \sqrt {a+b \sin (c+d x)}}-\frac {32 a \left (-6 a^2 b^2+a^4-27 b^4\right ) \sqrt {a+b \sin (c+d x)} E\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{1155 b^4 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2653
Rule 2655
Rule 2661
Rule 2663
Rule 2692
Rule 2752
Rule 2865
Rubi steps
\begin {align*} \int \cos ^4(c+d x) (a+b \sin (c+d x))^{3/2} \, dx &=-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d}+\frac {2}{11} \int \frac {\cos ^4(c+d x) \left (\frac {11 a^2}{2}+\frac {b^2}{2}+6 a b \sin (c+d x)\right )}{\sqrt {a+b \sin (c+d x)}} \, dx\\ &=-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d}+\frac {2 \cos ^3(c+d x) \sqrt {a+b \sin (c+d x)} \left (a^2+3 b^2+28 a b \sin (c+d x)\right )}{231 b d}+\frac {8 \int \frac {\cos ^2(c+d x) \left (\frac {3}{4} b^2 \left (29 a^2+3 b^2\right )+\frac {3}{4} a b \left (a^2+31 b^2\right ) \sin (c+d x)\right )}{\sqrt {a+b \sin (c+d x)}} \, dx}{231 b^2}\\ &=-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d}+\frac {2 \cos ^3(c+d x) \sqrt {a+b \sin (c+d x)} \left (a^2+3 b^2+28 a b \sin (c+d x)\right )}{231 b d}-\frac {4 \cos (c+d x) \sqrt {a+b \sin (c+d x)} \left (4 a^4-21 a^2 b^2-15 b^4-3 a b \left (a^2+31 b^2\right ) \sin (c+d x)\right )}{1155 b^3 d}+\frac {32 \int \frac {-\frac {3}{8} b^2 \left (a^4-114 a^2 b^2-15 b^4\right )-\frac {3}{2} a b \left (a^4-6 a^2 b^2-27 b^4\right ) \sin (c+d x)}{\sqrt {a+b \sin (c+d x)}} \, dx}{3465 b^4}\\ &=-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d}+\frac {2 \cos ^3(c+d x) \sqrt {a+b \sin (c+d x)} \left (a^2+3 b^2+28 a b \sin (c+d x)\right )}{231 b d}-\frac {4 \cos (c+d x) \sqrt {a+b \sin (c+d x)} \left (4 a^4-21 a^2 b^2-15 b^4-3 a b \left (a^2+31 b^2\right ) \sin (c+d x)\right )}{1155 b^3 d}-\frac {\left (16 a \left (a^4-6 a^2 b^2-27 b^4\right )\right ) \int \sqrt {a+b \sin (c+d x)} \, dx}{1155 b^4}+\frac {\left (4 \left (4 a^6-25 a^4 b^2+6 a^2 b^4+15 b^6\right )\right ) \int \frac {1}{\sqrt {a+b \sin (c+d x)}} \, dx}{1155 b^4}\\ &=-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d}+\frac {2 \cos ^3(c+d x) \sqrt {a+b \sin (c+d x)} \left (a^2+3 b^2+28 a b \sin (c+d x)\right )}{231 b d}-\frac {4 \cos (c+d x) \sqrt {a+b \sin (c+d x)} \left (4 a^4-21 a^2 b^2-15 b^4-3 a b \left (a^2+31 b^2\right ) \sin (c+d x)\right )}{1155 b^3 d}-\frac {\left (16 a \left (a^4-6 a^2 b^2-27 b^4\right ) \sqrt {a+b \sin (c+d x)}\right ) \int \sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}} \, dx}{1155 b^4 \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {\left (4 \left (4 a^6-25 a^4 b^2+6 a^2 b^4+15 b^6\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}\right ) \int \frac {1}{\sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}}} \, dx}{1155 b^4 \sqrt {a+b \sin (c+d x)}}\\ &=-\frac {2 b \cos ^5(c+d x) \sqrt {a+b \sin (c+d x)}}{11 d}-\frac {32 a \left (a^4-6 a^2 b^2-27 b^4\right ) E\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {a+b \sin (c+d x)}}{1155 b^4 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {8 \left (4 a^6-25 a^4 b^2+6 a^2 b^4+15 b^6\right ) F\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{1155 b^4 d \sqrt {a+b \sin (c+d x)}}+\frac {2 \cos ^3(c+d x) \sqrt {a+b \sin (c+d x)} \left (a^2+3 b^2+28 a b \sin (c+d x)\right )}{231 b d}-\frac {4 \cos (c+d x) \sqrt {a+b \sin (c+d x)} \left (4 a^4-21 a^2 b^2-15 b^4-3 a b \left (a^2+31 b^2\right ) \sin (c+d x)\right )}{1155 b^3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.09, size = 278, normalized size = 0.84 \[ \frac {64 \sqrt {\frac {a+b \sin (c+d x)}{a+b}} \left (4 \left (a^5-6 a^3 b^2-27 a b^4\right ) \left ((a+b) E\left (\frac {1}{4} (-2 c-2 d x+\pi )|\frac {2 b}{a+b}\right )-a F\left (\frac {1}{4} (-2 c-2 d x+\pi )|\frac {2 b}{a+b}\right )\right )+b^2 \left (a^4-114 a^2 b^2-15 b^4\right ) F\left (\frac {1}{4} (-2 c-2 d x+\pi )|\frac {2 b}{a+b}\right )\right )-b (a+b \sin (c+d x)) \left (-16 a b \left (3 a^2+128 b^2\right ) \sin (2 (c+d x))+5 b^2 \left (93 b^2-4 a^2\right ) \cos (3 (c+d x))+2 \left (64 a^4-366 a^2 b^2+195 b^4\right ) \cos (c+d x)-280 a b^3 \sin (4 (c+d x))+105 b^4 \cos (5 (c+d x))\right )}{9240 b^4 d \sqrt {a+b \sin (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.20, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b \cos \left (d x + c\right )^{4} \sin \left (d x + c\right ) + a \cos \left (d x + c\right )^{4}\right )} \sqrt {b \sin \left (d x + c\right ) + a}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} \cos \left (d x + c\right )^{4}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.80, size = 1355, normalized size = 4.12 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} \cos \left (d x + c\right )^{4}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int {\cos \left (c+d\,x\right )}^4\,{\left (a+b\,\sin \left (c+d\,x\right )\right )}^{3/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________